<?php

/**
 * Beaver_Model_Mapper_Interface
 *
 * @category   Beaver
 * @package    Beaver
 * @subpackage Beaver_Model_Mapper
 * @author     Mihály Kuprivecz
 */
interface Beaver_Model_Mapper_Interface {
	/**
	 * Set the reference to the model
	 * @param Beaver_Model_Abstract $model
	 * @return Beaver_Model_Mapper_Interface
	 */
	public function setModel(Beaver_Model_Abstract $model);
	
	/**
	 * Get the reference to the model
	 * @return  Beaver_Model_Abstract
	 */
	public function getModel();
	
	/**
	 * The mapper sets the attributes from them source
	 * @return void
	 */
	public function addModelAttributesFromSource();
}
